package com.jsoup.service;

import com.jsoup.bean.Article;

import java.util.List;

public interface ArticleService {

    int deleteByPrimaryKey(Integer articleId);

    int insert(Article record);

    int insertSelective(Article record);

    Article selectByPrimaryKey(Integer articleId);

    int updateByPrimaryKeySelective(Article record);

    int updateByPrimaryKeyWithBLOBs(Article record);

    int updateByPrimaryKey(Article record);

    List<Article> selectArticleByArticleViews();

    List<Article> selectArticle(Article article);

    List<Article> searchArticle(Article article);

    Article getArticle(Article article);

    void updateArticleViews(Integer articleId);
}
